export let permissionTreeRemote = {
  name: '得到所有权限树数据',
  url: '/permission/permissionTree',
  functionName: 'permissionTree'
}

export let rolePermissionTree = {
  name: '得到所有相应模块权限树数据',
  url: '/rolePermission/permissionTree',
  functionName: 'rolePermissionTree'
}

export let savePermissionRemote = {
  name: '保存权限',
  url: '/permission/savePermission',
  functionName: 'savePermission'
}

export let updatePermissionRemote = {
  name: '修改权限',
  url: '/permission/updatePermission',
  functionName: 'updatePermission'
}
export let deletePermissionRemote = {
  name: '删除权限',
  url: '/permission/deletePermission',
  functionName: 'deletePermission'
}

export let updateRolePermission = {
  name: '更新角色权限',
  url: '/rolePermission/updateRolePermission',
  functionName: 'updateRolePermission'
}

export let getPermissionByParentId = {
  name: '获取菜单权限',
  url: '/user/getPermissionByParentId',
  functionName: 'getPermissionByParentId'
}
